package com.cherrypt.api.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author intent
 * @date 2019/8/5 16:42
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@Setter
@ToString
public class TorrentDto {
    private Integer id;
    private Integer uid;
    private String fileName;
    private Long fileSize;
    private String hash;
    private Long size;
    private Long created;
    private Long modify;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private DiscountDto discount;

    private int uploadCount;
    private int downloadCount;
    private int completeCount;
}
